package com.ruoyi.verificationDetail.mapper;

import java.util.List;
import com.ruoyi.verificationDetail.domain.VerificationDetail;

/**
 * 核销码明细信息Mapper接口
 * 
 * @author ruoyi
 * @date 2025-11-18
 */
public interface VerificationDetailMapper 
{
    /**
     * 查询核销码明细信息
     * 
     * @param detailId 核销码明细信息主键
     * @return 核销码明细信息
     */
    public VerificationDetail selectVerificationDetailByDetailId(Long detailId);

    /**
     * 查询核销码明细信息列表
     * 
     * @param verificationDetail 核销码明细信息
     * @return 核销码明细信息集合
     */
    public List<VerificationDetail> selectVerificationDetailList(VerificationDetail verificationDetail);

    /**
     * 新增核销码明细信息
     * 
     * @param verificationDetail 核销码明细信息
     * @return 结果
     */
    public int insertVerificationDetail(VerificationDetail verificationDetail);

    /**
     * 修改核销码明细信息
     * 
     * @param verificationDetail 核销码明细信息
     * @return 结果
     */
    public int updateVerificationDetail(VerificationDetail verificationDetail);

    /**
     * 删除核销码明细信息
     * 
     * @param detailId 核销码明细信息主键
     * @return 结果
     */
    public int deleteVerificationDetailByDetailId(Long detailId);

    /**
     * 批量删除核销码明细信息
     * 
     * @param detailIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteVerificationDetailByDetailIds(Long[] detailIds);

    /**
     * 根据核销码查询详情信息
     * @param verificationCode 核销码
     * @return 核销码明细信息
     */
    VerificationDetail selectByVerificationCode(String verificationCode);
}
